package com.yourenbang.lingyun.transaction.web.service.migrate;

import com.yourenbang.lingyun.domain.PayTransactionIndex;
import com.yourenbang.lingyun.transaction.web.domain.dto.migrate.kuaishou.MigrateDTO;
import com.yourenbang.lingyun.transaction.web.domain.po.klks.KlksPayTransactionIndex;
import com.yourenbang.lingyun.transaction.web.domain.po.klks.KlksPayTransactionPO;
import com.yourenbang.lingyun.transaction.web.domain.po.klks.PayWithdrawalPO;
import com.yourenbang.transaction.api.model.vo.pay.PayTransaction;

public interface PayTransactionMigrateService {

    /**
     * 交易
     */
    void payTransaction(MigrateDTO dto);

    PayTransaction fmtPayTransactionData(KlksPayTransactionPO klksPayTransaction, String userBaseId);

    /**
     * 交易索引
     */
    void payTransactionIndex(MigrateDTO dto);

    PayTransactionIndex fmtPayTransactionIndexData(KlksPayTransactionIndex klksIndex, String userBaseId);

    /**
     * D0提款
     */
    void payWithdrawal(MigrateDTO dto);

    PayTransaction fmtWithdrawalData(PayWithdrawalPO payWithdrawal);
}
